package cn.edu.scau.cmi.huangxiaodong.client;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class AdapterOfObjectClient extends Application{
	 @Override
	    public void start(Stage primaryStage) throws Exception {
	        primaryStage.setTitle("对象适配器模式");
	      FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("/cn/edu/scau/cmi/huangxiaodong/adapter/AdapaterOfObject.fxml"));
	        Parent root = fxmlLoader.load();
	        Scene scene = new Scene(root);	      
	        primaryStage.setMaximized(true);	 
	        primaryStage.setScene(scene);
	        primaryStage.show();
	    }

	    public static void main(String[] args) {
	        launch(args);
	    }
}
